﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatfrom.Core
{
    public class PageWithSortDto
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        public string Sort { get; set; } = "Id";
        public OrderType order { get; set; } = OrderType.Asc;
    }
    public enum OrderType
    {
        Asc, Desc,
    }
}
